export const MONACO_VS_PATH = '/lib/monaco-editor/min/vs'

export const EXT_OPT = 'opt_ext'

export const FindProxyForURL = `function FindProxyForURL(url, host) {"RULE";return "DIRECT";}`

export const INIT_YAML =
`direct:
system:
socks5:
  - google.com
`


export const MENU_OPTIONS = [
  {
    label: '直接连接',
    key: 'direct'
  },
  {
    label: '系统代理',
    key: 'system'
  },
  {
    type: 'pac_script',
    label: 'auto switch',
    key: 'switch',
    show: true,
  },
  // {
  //   type: 'fixed_servers',
  //   label: 'socks5',
  //   key: 'socks5',
  //   show: false,
  //   value: {
  //     scheme: '',
  //     host: '',
  //     port: '',
  //   },
  // },
  {
    type: 'btn',
    label: 'new mode',
    key: 'new',
    show: false,
  }
]